package org.example.web.service;

import org.example.web.domain.Emp;
import org.example.web.domain.QueryPage;

import java.util.Date;
import java.util.List;

public interface EmpService {
    QueryPage pageQuery(String name, Integer gender, Date begin, Date end, int page, int pageSize);

    void deleteById(List ids);

    void add(Emp emp);

    Emp getById(Long id);

    void update(Emp emp);

    Emp getUserByUserNameAndPassword(Emp emp);
}
